package se3a04.mcmapster;


import android.widget.Button;
import android.widget.EditText;
import android.os.Bundle;
import android.text.Editable;
import android.view.View;
import android.app.Activity;
import android.content.Intent;




public class EnterCode extends Activity {
	@Override
	public void onCreate(Bundle savedInstanceState) 
	{
	        super.onCreate(savedInstanceState);
	        setContentView(R.layout.entercodegui);
	
	Button Enter, Cancel;
	final EditText CodeText;
	Enter = (Button) findViewById (R.id.bEnterCode);
	Cancel = (Button) findViewById (R.id.bCancel);
	CodeText= (EditText) findViewById (R.id.editcodetext);
	String code;
	Enter.setOnClickListener(new View.OnClickListener(){
		public void onClick(View v){
			
			String code=CodeText.getText().toString();
			

			 
		}
	});
	
	Cancel.setOnClickListener(new View.OnClickListener(){
		public void onClick(View v)
		{
			String code="";
			CodeText.setText("");
		}
	});
	
	}
}